import request from '@/utils/request';
export function areaChilds(data) {
  return request({
    url: '/appv2/api/index/areaChilds',
    method: 'post',
    data: data,
  });
}
// 获取省份信息
export function searchSchoolFilter(data) {
  return request({
    url: '/appv2/api/index/searchSchoolFilter',
    method: 'post',
    data: data,
  });
}
// 获取专业列表
export function allMajor(data) {
  return request({
    url: '/appv2/api/index/allMajor',
    method: 'post',
    data: data,
  });
}
// 获取职业列表
export function allCareer(data) {
  return request({
    url: '/appv2/api/index/allCareer',
    method: 'post',
    data: data,
  });
}
// 找大学
export function searchSchool(data) {
  return request({
    url: '/appv2/api/index/searchSchool',
    method: 'post',
    data: data,
  });
}
export function searchSchoolNew(data) {
  return request({
    url: '/appv2/api/index/searchSchoolNew',
    method: 'post',
    data: data,
  });
}

// 选科查询-学校
export function selectSearchSchool(data) {
  return request({
    url: '/dev-api/api/School/selectSearchSchool',
    method: 'post',
    data: data,
  });
}

// 选科查询-专业
export function selectSearchSchoolMajor(data) {
  return request({
    url: '/dev-api/api/School/selectSearchSchoolMajor',
    method: 'post',
    data: data,
  });
}

export function searchSchool2(data) {
  return request({
    url: '/appv2/api/School/searchSchoolRank',
    method: 'post',
    data: data,
  });
}
// 查专业
export function searchMajor(data) {
  return request({
    url: '/appv2/api/index/searchMajor',
    method: 'post',
    data: data,
  });
}
export function searchMajorFilling(data) {
  return request({
    url: '/dev-api/api/index/searchMajor',
    method: 'post',
    data: data,
  });
}
// 查职业
export function searchCareer(data) {
  return request({
    url: '/appv2/api/index/searchCareer',
    method: 'post',
    data: data,
  });
}

// 是否是高考版
export function getIsGKB(data) {
  return request({
    url: '/appv2/api/index/isGKB',
    method: 'post',
    data: data,
  });
}

// 专业库详情职业方向
export function getSearchMajorJob(data) {
  return request({
    url: '/appv2/api/index/searchMajorJob',
    method: 'post',
    data: data,
  });
}
// 专业筛选院校
export function getSearchMajorSchool(data) {
  return request({
    url: '/appv2/api/index/searchMajorSchool',
    method: 'post',
    data: data,
  });
}

//就业前景
export function searchMajorJob(data) {
  return request({
    url: '/appv2/api/index/searchMajorJob',
    method: 'post',
    data: data,
  });
}

//获取学历要求
export function careerNeedEdu(data) {
  return request({
    url: '/appv2/api/career/careerNeedEdu',
    method: 'post',
    data: data,
  });
}

//获取人才要求
export function careerNeed(data) {
  return request({
    url: '/appv2/api/career/careerNeed',
    method: 'post',
    data: data,
  });
}
